package com.caishi.lkx.common.ienum;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

public enum AgentType {
    //
    self("自营", 0),
    offline("线下", 1),
    tmall("天猫", 2),
    tb("淘宝", 3),
    wx("微信", 4),
    dx("电销", 5),
    other("其他", 6),
    ;

    @Getter
    final
    String desc;

    @EnumValue
    @Getter
    final
    Integer code;

    AgentType(String desc, Integer code) {
        this.desc = desc;
        this.code = code;
    }

}
